import type { PageParams, PageResult } from '@/types/global'
import { http } from '@/utils/http'
import type { TeacherItem } from '@/types/teacher'

/**
 * 获取教师列表
 */
export const getTeacherListApi = (params: PageParams) => {
  return http<PageResult<TeacherItem>>({
    method: 'GET',
    url: '/wechat/teacher/list',
    data: params,
  })
}
